package tech.aistar.entity;

import java.io.Serializable;
import java.util.Date;

public class ServiceOrder implements Serializable {

    private Integer id;

    private Integer servicesId;

    private String orderNumber;

    private Integer userinfoId;

    private Date commitTime;

    private Integer status;

    private Double total;

    private String field2;


    public ServiceOrder() {
    }

    public ServiceOrder(Integer id, Integer servicesId, String orderNumber, Integer userinfoId, Date commitTime, Integer status, Double total, String field2) {
        this.id = id;
        this.servicesId = servicesId;
        this.orderNumber = orderNumber;
        this.userinfoId = userinfoId;
        this.commitTime = commitTime;
        this.status = status;
        this.total = total;
        this.field2 = field2;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getServicesId() {
        return servicesId;
    }

    public void setServicesId(Integer servicesId) {
        this.servicesId = servicesId;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Integer getUserinfoId() {
        return userinfoId;
    }

    public void setUserinfoId(Integer userinfoId) {
        this.userinfoId = userinfoId;
    }

    public Date getCommitTime() {
        return commitTime;
    }

    public void setCommitTime(Date commitTime) {
        this.commitTime = commitTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }

    public String getField2() {
        return field2;
    }

    public void setField2(String field2) {
        this.field2 = field2;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ServiceOrder{");
        sb.append("id=").append(id);
        sb.append(", servicesId=").append(servicesId);
        sb.append(", orderNumber='").append(orderNumber).append('\'');
        sb.append(", userinfoId=").append(userinfoId);
        sb.append(", commitTime=").append(commitTime);
        sb.append(", status=").append(status);
        sb.append(", total=").append(total);
        sb.append(", field2='").append(field2).append('\'');
        sb.append('}');
        return sb.toString();
    }
}